-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add release process for versioned docs. #6
Conversation
Signed-off-by: bgravenorst <[email protected]>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some style feedback (the instructions look good).
The following instructions are for documentation that uses the Docusaurus versioning system. | ||
|
||
:::info | ||
Currently, only the Teku documentation utilizes versioning, supporting just two versions: `stable` and `development`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently, only the Teku documentation utilizes versioning, supporting just two versions: `stable` and `development`. | |
Currently, only the Teku documentation uses versioning, supporting just two versions: `stable` and `development`. |
Lastly, we'll cleanup the documentation directory by deleting the previous stable docs. For this example it means: | ||
|
||
1. In the `versioned_docs` directory, delete the `version-23.6.2` folder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lastly, we'll cleanup the documentation directory by deleting the previous stable docs. For this example it means: | |
1. In the `versioned_docs` directory, delete the `version-23.6.2` folder | |
Lastly, clean up the documentation directory by deleting the previous stable docs. For this example it means: | |
1. In the `versioned_docs` directory, delete the `version-23.6.2` folder. |
1. In the `versioned_docs` directory, delete the `version-23.6.2` folder | ||
2. In the `versioned_sidebars` directory, delete the `version-23.6.2-sidebars.json` file. | ||
|
||
Create your pull request. You can perform a final check using the Preview link that gets created for your PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create your pull request. You can perform a final check using the Preview link that gets created for your PR. | |
Create your pull request. You can perform a final check using the preview link generated for your PR. |
|
||
# Documentation release process | ||
|
||
The following instructions are for documentation that uses the Docusaurus versioning system. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The following instructions are for documentation that uses the Docusaurus versioning system. | |
The following instructions are for documentation that uses the [Docusaurus versioning system](https://docusaurus.io/docs/next/versioning). |
::: | ||
|
||
A new stable version of the documentation is released when a new version of the software is released. | ||
In the following example we'll release the `23.6.3` version of the documentation (from `23.6.2`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the following example we'll release the `23.6.3` version of the documentation (from `23.6.2`). | |
In the following steps, we'll release the `23.6.3` version of the documentation (from `23.6.2`) as an example. |
### 1. Create a new version of the documentation: | ||
|
||
Create a new documentation version by running the following command: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### 1. Create a new version of the documentation: | |
Create a new documentation version by running the following command: | |
### 1. Create a new version of the documentation | |
Create a new version by running the following command in the documentation repository: |
e8ee20a
to
eed7dc2
Compare
eed7dc2
to
face087
Compare
face087
to
4568896
Compare
4568896
to
8c321f4
Compare
Signed-off-by: Joshua Fernandes <[email protected]>
8c321f4
to
7cc1097
Compare
Signed-off-by: bgravenorst <[email protected]>
Add instructions to release the documentation when using versioning.